package com.g1.gzbooksingle.controller;


import com.g1.gzbooksingle.model.DgCommentInfo;
import com.g1.gzbooksingle.model.DgDimensionRank;
import com.g1.gzbooksingle.service.IDgDimensionRankService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 维度排行榜表 前端控制器
 * </p>
 *
 * @author admin
 * @since 2021-10-12
 */
@Slf4j
@Api(tags = "维度排行榜接口")
@RestController
@RequestMapping("/gzbooksingle/dgDimensionRank")
public class DgDimensionRankController {

    @Autowired
    private IDgDimensionRankService iDgDimensionRankService;


    /**
     * 查询本书全部短评信息
     * @return
     */
    @GetMapping
    @ApiOperation("按销量、评论、浏览量，排行")
    public List<DgDimensionRank> getList(@ApiParam(value = "销量") Integer saleNum,
                                         @ApiParam(value = "评论数") Integer commentNum,
                                         @ApiParam(value = "浏览数") Integer browseNum){

        return null;
    }

}
